package com.jwetherell.my.tree;

import java.util.List;

interface iTree<T extends Comparable<T>> {

	public boolean insertNode(Node<T> node);
	public void deleteNode(Node<T> node);
	public Node<T> findNode(Node<T> node);
	public Node<T> findMinNode();
	public Node<T> findMaxNode();

	public Node<T> getRoot();
	public boolean isLeafNode(Node<T> node);
	public boolean isInternalNode(Node<T> node);

	public Node<T> getParent(Node<T> node);
	public List<Node<T>> getChildren(Node<T> node);
	public List<Node<T>> getSiblings(Node<T> node);

}
